package com.hzw.saas.web.admin.job.task;

import javax.annotation.Resource;

import com.hzw.saas.api.hpc.IHpcAccountIncreaseService;
import com.hzw.saas.common.quartz.model.ScheduleJob;
import org.springframework.stereotype.Service;
import lombok.SneakyThrows;

/**
 * <p>
 *
 * </p>
 *
 * @author sonam
 * @since 2021/5/25 20:06
 */
@Service("increaseTask")
public class IncreaseTask {

    @Resource(name = "hpcAccountIncreaseImpl")
    private IHpcAccountIncreaseService hpcAccountIncreaseService;

    @SneakyThrows
    public void increase(ScheduleJob scheduleJob) {
        /** 算力增值*/
        hpcAccountIncreaseService.powerIncrease();
    }

}
